import useForm from "@module/useForm";
import Input from "@ui/RJMart/input";
import Icon from "@ui/RJMart/icons";
import img0 from "../../../imgs/ic_chenggong.png";

export default function StepFour() {
    const params = $state.params;
    const { account } = params || {};

    return (
        <div className={"regi-step-four"}>
            <div className={"regi-step-four-right"}>
                <img src={img0} className="zen_v-m" />
                <div className="zen_il-bl zen_m-l-20">
                    <p className={"regi-four-t1"}>重置密码成功</p>
                </div>
            </div>
            <div className={"regi-four-bottom zen_p-t-20 zen_p-l-100"}>
                <p>
                    尊敬的
                    <span className={"zen_0094EB"}>{params.account}</span>
                    ，您已成功重置密码，请点击
                </p>
                <div
                    onClick={() => {
                        $state.go({
                            stateName: "/Login"
                        });
                    }}
                    className={"regi-four-btn"}
                >
                    <p>登录</p>
                </div>
            </div>
        </div>
    );
}
